Debian 7.0
Sponsored Link

Fully accessed shared directory
2013/05/12
 
Install Samba and Create a shared directory that anybody can read and write, and authentication is not needed.
[1] Install Samba
root@lan:~#
aptitude -y install samba

[2] Configure Samba
root@lan:~#
mkdir /home/share

root@lan:~#
chmod 777 /home/share

root@lan:~#
vi /etc/samba/smb.conf
# line 34: add

unix charset = UTF-8
# line 39: change if needed (same one to Windows)

workgroup =
WORKGROUP
# line 64: uncomment and change IP address you allow

interfaces = 127.0.0.0/8
10.0.0.0/24
# line 71: uncomment

bind interfaces only = yes
# line 103: change (no auth)

security =
share
# add at the last line

[Share]
# any name you like

   path = /home/share
# shared directory

   writable = yes
# writable

   guest ok = yes
# guest OK

   guest only = yes
# guest only

   create mode = 0777
# fully accessed

   directory mode = 0777
# fully accessed

   share modes = yes
# warn if some people access to a file
root@lan:~#
/etc/init.d/samba restart

Stopping Samba daemons: nmbd smbd.
Starting Samba daemons: nmbd smbd.
[3] Configure on Windows client. This example is on Windows 7. Select [My Computer] - [Map Network Drive] like following example.
[4] Specify shared folder's place in Folder section like example and Click 'Finish' button to enter.
[5] Done to access to shared folder.
 
Tweet